package com.force.common.h2.models;

import java.io.Serializable;
import java.util.StringJoiner;

public class ZincLogVo implements Serializable {
	private static final long serialVersionUID = 1L;
	private String groupName;
	private String threadName;
	private String loggerName;
	private String content;
	private String level;
	private String throwableMsg;
	private String traceId;
	private String clientIp;
	private String timestamp;

	private String startTimeStamp;
	private String endTimeStamp;

	public String getStartTimeStamp() {
		return startTimeStamp;
	}

	public void setStartTimeStamp(final String startTimeStamp) {
		this.startTimeStamp = startTimeStamp;
	}

	public String getEndTimeStamp() {
		return endTimeStamp;
	}

	public void setEndTimeStamp(final String endTimeStamp) {
		this.endTimeStamp = endTimeStamp;
	}

	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(final String groupName) {
		this.groupName = groupName;
	}

	public String getThrowableMsg() {
		return throwableMsg;
	}

	public void setThrowableMsg(final String throwableMsg) {
		this.throwableMsg = throwableMsg;
	}

	public String getClientIp() {
		return clientIp;
	}

	public void setClientIp(String clientIp) {
		this.clientIp = clientIp;
	}

	public String getTimestamp() {
		return timestamp;
	}

	public void setTimestamp(String timestamp) {
		this.timestamp = timestamp;
	}

	public String getThreadName() {
		return threadName;
	}

	public void setThreadName(final String threadName) {
		this.threadName = threadName;
	}

	public String getLoggerName() {
		return loggerName;
	}

	public void setLoggerName(final String loggerName) {
		this.loggerName = loggerName;
	}

	public String getContent() {
		return content;
	}

	public void setContent(final String content) {
		this.content = content;
	}

	public String getLevel() {
		return level;
	}

	public void setLevel(final String level) {
		this.level = level;
	}

	public String getTraceId() {
		return traceId;
	}

	public void setTraceId(final String traceId) {
		this.traceId = traceId;
	}

	@Override
	public String toString() {
		return new StringJoiner(", ", ZincLogVo.class.getSimpleName() + "[", "]")
				.add("threadName='" + threadName + "'")
				.add("loggerName='" + loggerName + "'")
				.add("content='" + content + "'")
				.add("level='" + level + "'")
				.add("throwableMsg='" + throwableMsg + "'")
				.add("traceId='" + traceId + "'")
				.add("clientIp='" + clientIp + "'")
				.add("timestamp='" + timestamp + "'")
				.toString();
	}
}
